package com.demo.model;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public enum ResultEnum {
    SUCCESS(1000 , "操作成功"),
    ERROR(1001 , "操作失败");


    private Integer code;
    private String message;
    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
